package org.neuedu.chapter05_0618;

public class MethodDemo12 {
    public static void main(String[] args) {
        int x = 10;
        test(x);
        System.out.println(x);//10

        int x1 = 10;
        x1 = test(x1);
        System.out.println(x1);//100
    }

    public static int test(int num) {
        num *= 10;
        return num;
    }
}
